package kr.co.icebird.spring3.app.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import kr.co.icebird.spring3.app.dao.MemberDao;
import kr.co.icebird.spring3.app.model.Member;


@Service("MemberService")
public class MemberServiceImpl implements MemberService {

	@Autowired
	MemberDao memberDao;

	public List<Member> getMemberList() {
		return memberDao.getMemberList();
	}

	public Member getMember(Long id) {
		return memberDao.getMember(id);
	}

}
